#!/bin/sh

 awk 'BEGIN { RS = "}" } { x=x+1; print $0"}" > x".dot"; print x; }' 